package com.translate.web.param;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.param.impl.PageParam;
import com.translate.web.param.contract.ISearchNoticeParam;

public class SearchNoticeParam extends PageParam implements ISearchNoticeParam {

	private int userId;
	
	private int status;
	
	@NotNull
	@Size(min = 1, message = "消息类型数量最小值为1")
	private int @Min(value = 0, message = "消息类型最小为0") [] type;

	
    public int getStatus() {
        return status;
    }
    
    public void setStatus(int status) {
        this.status = status;
    }

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int[] getType() {
		return type;
	}

	public void setType(int[] type) {
		this.type = type;
	}
}
